from django.urls import path
from . import views
from .views import post_create



urlpatterns = [
    path('', views.post_list, name='post_list'),
    path('post/<int:pk>/', views.post_detail, name='post_detail'),
    path('post/new/', post_create, name='post_create'),
    path('post/<int:pk>/update',views.post_update,name='post_update'),
    path('post/<int:pk>/delete',views.post_delete,name='post_delete'),
]